using System;
using Core.Domain.Entities;
using Core.Interfaces;
using Core.IocHelpers;

namespace Core.Settings
{
  ///<summary>Current settings for this computer and person</summary>
  [AutoRegisterable]
  public interface IEnvironment
  {
    ///<summary></summary>
    ICommunity Community { get; set; }

    ///<summary>
    ///</summary>
    IAppSettings Settings { get; }

    ///<summary>
    ///  Community file changed
    ///</summary>
    event EventHandler<DataChangedEvent> CommunityFileChanged;
  }
}